import Vue from 'vue'
import App from './App'
import baseUrl from '@/common/baseUrl.js';

import common from '@/untils/common.js';

import uView from "uview-ui"
Vue.use(uView)




// 引用vuex缓存
import store from './store/index';
Vue.prototype.$store = store;

// 引用分享
let mpShare = require('uview-ui/libs/mixin/mpShare.js');
Vue.mixin(mpShare)


// 引用分享
let backTop = require('@/untils/minx.js');
Vue.mixin(backTop)



import {VueJsonp} from 'vue-jsonp'
Vue.use(VueJsonp)

Vue.config.productionTip = false

App.mpType = 'app'

const app = new Vue({
    ...App
})
import httpInterceptor from '@/common/http.js'
Vue.use(httpInterceptor, app)

// 引用请求网络
import httpApi  from '@/common/api.js'
Vue.use(httpApi ,app)

app.$mount()
